#include<stdio.h>
int main(void)
{
	int i;
	int sum = 0;
	int cnt = 0;
	float avg;
	for (i = 1; i < 101; ++i)
	{
		if (i % 2 != 0)
		{
			sum += i;
			++cnt;
		}


	}
	avg = (float)(sum) / cnt;
	printf("sum = %d\ncnt = %d\navg = %f", sum, cnt,avg);
	return 0;
}